package com.edu.medicalpro.retrofit;

import com.edu.medicalpro.bean.User;

import io.reactivex.rxjava3.core.Flowable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface loginService {

    @POST("/account/login")
    @FormUrlEncoded
    Flowable<User> Login(@Field("phone") String username, @Field("pwsd") String password);

}
